package com.xbongbong.crm.handle.analysis;

import com.xbongbong.paas.domain.entity.ext.PaasFormDataEntityExt;
import com.xbongbong.parent.parse.data.AbstractListAnalysisDataService;
import com.xbongbong.saas.enums.XbbRefTypeEnum;
import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;

/**
 * @author 吴峰
 * @date 2022/05/23 15:17
 */
@Service("defaultListAnalysisDataHandler")
public class DefaultListAnalysisDataHandler extends AbstractListAnalysisDataService<PaasFormDataEntityExt> {

    @Override
    public List<Integer> businessList() {
        return Arrays.asList(XbbRefTypeEnum.SALES_OPPORTUNITY.getCode(), XbbRefTypeEnum.QUOTATION.getCode(), XbbRefTypeEnum.REFUND.getCode(), XbbRefTypeEnum.CLUE.getCode());
    }

}
